package com.huawang.mdesign.model.service.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class PropertyMapping {
    @Schema(title = "属性映射配置项标识，用于返回给前端绑定")
    private String uuid;

    @Schema(title = "属性映射规则模型id")
    private String instanceId;

    @Schema(title = "属性映射规则模型父节点")
    private String parentId;

    @Schema(title = "源模型id")
    private String sourceInstanceId;

    @Schema(title = "源模型属性id")
    private String sourcePropertyKey;

    @Schema(title = "目标模型id")
    private String targetInstanceId;

    @Schema(title = "目标属性id")
    private String targetPropertyKey;

    @Schema(title = "目标属性有值时是否替换")
    private Boolean isReplace;
}
